﻿{% extends "base.html" %}

{% block jscript %}<script>
var randomica = new Randomizer( "{{question}}", ["{{1stOpt}}"{% for opt in options %},"{{opt}}"{% endfor %}]);
$(document).ready(function() {
   randomica.SetCaption();
   randomica.DisplayOptions();
   randomica.SetRandom();
   randomica.Rand();
});
</script>{% endblock %}
{% block bodycontent %}		<table id="randtable">
			<caption></caption>
			<tbody>					
			</tbody>		
		</table>
{% endblock %}